import {TableItemConfig} from "../dynamic-table/TableType";
import {FormItemConfig} from "../dynamic-form/ConfigType";

export class ConfigItemConfig extends TableItemConfig {
  // @ts-ignore
  search: FormItemConfig;
}

export namespace SelectObjectType {
  export type selectShowView = (item: object) => string;
  export type asyncSetTableData = (data: object, page: { pageSize: number, pageNum: number })
    => Promise<{ data: Array<any>, total: number }>
}
